Airwallex\Services\OrderService A

Total Complexity 65
Dependencies 14
Dependents 9
Total lines 486
Lines of code 390
Logical lines of code 155
Comment lines 56
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
paymentCompleteByAuthorize()
A
41 8 55
checkPendingTransactions()
A
47 9 34
getOrderByPaymentIntentId()
A
46 7 47
getRefundByAmountAndTime()
A
41 5 74
getRefundIdByAirwallexRefundId()
S
48 5 41
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
52 3 31
paymentCompleteByCapture()
S
50 3 28
containsSubscription()
S
77 4 3
getOrderMetaTableName()
S
69 3 7
getOrderIdColumnNameFromMetaTable()
S
71 3 6
setPaymentSuccess()
S
66 3 8
getAirwallexCustomerId()
S
62 2 11
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6